import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {Link} from 'react-router';
import NavLink from '../common/NavLink';

export default class Repos extends Component {
    render() {
        return (
            <div>
                <h2>Repos Page</h2>
                <ul>
                    <li><NavLink to="/repos/reactjs/react-router">React Router</NavLink></li>
                    <li><NavLink to="/repos/facebook/react">React</NavLink></li>
                </ul>
                {this.props.children}
            </div>
        );
    }
}

Repos.propTypes = {};
